package com.damai.action.json;

import java.util.Map;

public class SimpleParamGetter implements IParamGetter {
	private String name;
	public SimpleParamGetter(String name) {
		this.name = name;
	}

	/**
	 * 
	 * @param param
	 * @return
	 * @throws ParamException
	 */
	@Override
	public Object get(Map<String, Object> param) {
		final String name = this.name;
		return param.get(name);
	}

}
